From 7bcaf6c0c60069c8b07993ce95c4dfab613f33c5 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 27 Feb 2008 13:16:02 +0000 Subject: [PATCH] ioemu: Fix e1000 mmio range size. Per Intel 82540EM Software Developer's Manual pp. 211, the mmio size is 0x20000, or address overlapping occurs and causes the second card to fail, which happened to me earlier. From: Tina Yang Signed-off-by: Keir Fraser --- tools/ioemu/hw/e1000.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ioemu/hw/e1000.c b/tools/ioemu/hw/e1000.c index fde815bd0a..48621f582f 100644 --- a/tools/ioemu/hw/e1000.c +++ b/tools/ioemu/hw/e1000.c @@ -48,7 +48,7 @@ static int debugflags = DBGBIT(TXERR) | DBGBIT(GENERAL); #endif #define IOPORT_SIZE 0x40 -#define PNPMMIO_SIZE 0x60000 +#define PNPMMIO_SIZE 0x20000 /* * HW models: -- 2.30.2